package com.wx.JerseySpring.entity;

import java.util.Date;

public class User {

	/**
	 * ID主键
	 */
	private String id;
	/**
	 * 用户名
	 */
	private String name;
	/**
	 * 性别      1: 男，2:女
	 */
	private String sex;
	/**
	 * 手机号
	 */
	private String mobile;
	/**
	 * 密码
	 */
	private String password;
	/**
	 * 身份证号
	 */
	private String id_card;
	/**
	 * 地址
	 */
	private String address;
	/**
	 * 出生日期
	 */
	private String birthday;
	/**
	 * 创建时间
	 */
	private Date create_time;
	/**
	 * 最近修改时间
	 */
	private Date update_time;
	/**
	 * 注册时间
	 */
	private Date regi_time;
	
	private String regiTime;
	
	
	/**
	 * 是否被允许参加活动
	 */
	private int allowed;
	
	public User(){}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public String getMobile() {
		return mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getId_card() {
		return id_card;
	}

	public void setId_card(String id_card) {
		this.id_card = id_card;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getBirthday() {
		return birthday;
	}

	public void setBirthday(String birthday) {
		this.birthday = birthday;
	}

	public Date getCreate_time() {
		return create_time;
	}

	public void setCreate_time(Date create_time) {
		this.create_time = create_time;
	}

	public Date getUpdate_time() {
		return update_time;
	}

	public void setUpdate_time(Date update_time) {
		this.update_time = update_time;
	}

	public Date getRegi_time() {
		return regi_time;
	}

	public void setRegi_time(Date regi_time) {
		this.regi_time = regi_time;
	}

	public int getAllowed() {
		return allowed;
	}

	public void setAllowed(int allowed) {
		this.allowed = allowed;
	}

	public String getRegiTime() {
		return regiTime;
	}

	public void setRegiTime(String regiTime) {
		this.regiTime = regiTime;
	}

	@Override
	public String toString() {
		return "User{" +
				"id='" + id + '\'' +
				", name='" + name + '\'' +
				", sex='" + sex + '\'' +
				", mobile='" + mobile + '\'' +
				", password='" + password + '\'' +
				", id_card='" + id_card + '\'' +
				", address='" + address + '\'' +
				", birthday='" + birthday + '\'' +
				", create_time=" + create_time +
				", update_time=" + update_time +
				", regi_time=" + regi_time +
				", regiTime='" + regiTime + '\'' +
				", allowed=" + allowed +
				'}';
	}
}
